﻿using Newtonsoft.Json;

namespace InstagramApiSharp.Classes
{
    [System.Serializable]
    public class InstaTwoFactorLoginInfo
    {
        [JsonProperty("obfuscated_phone_number")]
        public string ObfuscatedPhoneNumber { get; set; }

        [JsonProperty("show_messenger_code_option")]
        public bool? ShowMessengerCodeOption { get; set; }

        [JsonProperty("two_factor_identifier")]
        public string TwoFactorIdentifier { get; set; }

        [JsonProperty("username")] 
        public string Username { get; set; }

        [JsonProperty("phone_verification_settings")]
        public InstaPhoneVerificationSettings PhoneVerificationSettings { get; set; }

        public static InstaTwoFactorLoginInfo Empty() => new InstaTwoFactorLoginInfo();
    }
}